package com.neu.cloudfactory.repository;

import com.neu.cloudfactory.bean.Scheduling.Scheduling;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Optional;

public interface SchedulingRepository extends JpaRepository<Scheduling,Integer> {
    Scheduling findByEquipmentid(Integer equipmentid);
    boolean existsByOrderid(Integer orderid);
    List<Scheduling> findAllByOrderid(Integer orderid);
}
